interface IPerson {
  name: string;
  age: number;
  slogan?: string;
}

// 类型体操 Partial 实现
type PartialType<T> = {
  [P in keyof T]?: T[P];
};

type IPartialPerson = PartialType<IPerson>;

const person: IPartialPerson = {
  name: "IPartialPerson",
  age: 18,
}

export {}
